package com.maidou.qiantai.common.constant;

/**
 * @Author maidou
 * @Date 2024/3/13 14:56
 */
public class SpuConstant
{
    public enum SpuImageEnum{
        INDEX(0, "首页"),
        DETAIL(1, "详情"),
        ADVERTISING(2, "广告");

        public final Integer type;
        public final String content;

        SpuImageEnum(Integer type, String content){
            this.type = type;
            this.content = content;
        }

        public Integer getType() {
            return type;
        }
    }
    public enum SpuEnum{
        CREATE_SPU(0, "新建"),
        DOWN_SPU(1, "上架"),
        UP_SPU(2, "下架");

        public final Integer type;
        public final String content;

        SpuEnum(Integer type, String content){
            this.type = type;
            this.content = content;
        }

        public Integer getType() {
            return type;
        }
    }
}
